<?php

namespace Acme\DemoBundle\Controller;

use Symfony\Bundle\FrameworkBundle\Controller\Controller;
// these import the "@Route" and "@Template" annotations
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Route;
use Sensio\Bundle\FrameworkExtraBundle\Configuration\Template;

/**
 * @Route("/", name="_welcome")
 */
class WelcomeController extends Controller
{
    
    /**
    * @Route("/", name="_welcome")
    * @Template()
    */
    public function indexAction()
    {
        /*
         * The action's view can be rendered using render() method
         * or @Template annotation as demonstrated in DemoController.
         */
        #return $this->render('AcmeDemoBundle:Welcome:index.html.twig');
        return array();
    }
}
